// __PUBLIC__/js/page/admin/site/addsite
require(['../../common'], function() {
  require(['site.addsite'])
})

define('site.addsite', [
  'jquery',
  'jqp/validate'
], function($) {
  'use strict';

  $('#J_form').validate({
    classPlace: '.kv',
    errorPlace: '.kv-error',
    errors: {
      appName: {
        required: '请填写应用名称',
      },
      appsUrl: {
        required: '请填写应用ip',
      },
    }
  })
})
